package cn.jiyun.mapper;

import cn.jiyun.pojo.Department;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【department】的数据库操作Mapper
* @createDate 2024-10-28 16:53:27
* @Entity cn.jiyun.pojo.Department
*/
public interface DepartmentMapper extends BaseMapper<Department> {
    @Insert("insert into department ")
    void tianjia(Department department, Integer id);

    Department findById(@Param("id") Integer id,@Param("pid") Integer pid);
}




